
/**
 *
 */
package com.serviceprovider.business.module.admin.transaction.valueobjects;

//~--- non-JDK imports --------------------------------------------------------

import com.serviceprovider.business.module.admin.transaction.model.NewCsvReplica;

//~--- JDK imports ------------------------------------------------------------

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author mrduongnv@gmail.com
 */
public class TransactionCSVError implements Serializable {

    /** The Constant serialVersionUID. */
    private static final long serialVersionUID = 100L;

    /** The fields. */
    private List<String> fields = new ArrayList<String>();

    /** The is duplicated. */
    private boolean isDuplicated = false;

    /** The transaction csv. */
    private NewCsvReplica transaction;

    /**
     * Gets the transaction csv.
     *
     * @return the transactionCSV
     */
    public NewCsvReplica getTransaction() {
        return this.transaction;
    }

    /**
     * Sets the transaction csv.
     *
     * @param transactionCSV
     *            the transactionCSV to set
     */
    public void setTransaction(NewCsvReplica transaction) {
        this.transaction = transaction;
    }

    /**
     * Gets the fields.
     *
     * @return the fields
     */
    public List<String> getFields() {
        return this.fields;
    }

    /**
     * Sets the fields.
     *
     * @param fields
     *            the fields to set
     */
    public void setFields(List<String> fields) {
        this.fields = fields;
    }

    /**
     * Checks if is duplicated.
     *
     * @return the isDuplicated
     */
    public boolean isDuplicated() {
        return this.isDuplicated;
    }

    /**
     * Sets the duplicated.
     *
     * @param isDuplicated
     *            the isDuplicated to set
     */
    public void setDuplicated(boolean isDuplicated) {
        this.isDuplicated = isDuplicated;
    }
}



